package cn.wzptsoft.mall.pojo;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.time.LocalDateTime;


@TableName("category")
@Data
public class Category {

    @TableId(type = IdType.AUTO)
    private Integer id;
    private String name;
    private String description;
    private Boolean isRoot;
    private Integer parentId;
    private String img;
    private Integer sort;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
    private Long creator;
    private Long updater;
    private Long updator;

    // Getters and Setters
}